<template>
  <button :Type="type" :disabled="disabled">
    <slot></slot>
  </button>
</template>
<script>
import { defineComponent } from "vue";
export default defineComponent({
  props: {
    type: {
      type: String,
      default: "button",
    },
    disabled: {
      type: Boolean,
      default: false,
    },
  },
  setup(props, ctx) {
    console.log("ctx base", ctx.attrs);

    return {};
  },
});
</script>
